package com.yn.xr.middleware.news.service;

import com.yn.core.service.BaseService;
import com.yn.xr.news.mode.NewsCommentApproveInfo;

/**
 * @description:新闻评论点赞回复点赞  
 * @fileName:newCommentProveService.java
 * @createTime:下午4:15:00
 * @author: 陈权
 * @version  1.0.0
 * @data 下午4:15:00
 */
public interface NewCommentProveService extends BaseService<NewsCommentApproveInfo, Integer>
{
    //根据新闻评论ID查询点赞
    public NewsCommentApproveInfo findNewsCommentProveByComentId(int commentId) throws Exception;
    //添加点赞
    public void insertNewsCommentProve(NewsCommentApproveInfo newsCommentProve) throws Exception;
    
    //修改点赞
    public void updateNewsCommentProve(NewsCommentApproveInfo newsCommentProve) throws Exception;
    
}
